package cn.nkpro.elcube.platform.service.impl;

import cn.nkpro.elcube.exception.NkOperateNotAllowedException;
import cn.nkpro.elcube.platform.model.NkShortMessageResult;
import cn.nkpro.elcube.platform.service.NkShortMessageService;

import java.util.List;
import java.util.Map;

public class DefaultNkShortMessageServiceImpl implements NkShortMessageService {
    @Override
    public String sendVerCode(String phone) {
        return "0000";
    }

    @Override
    public NkShortMessageResult sendTemplateMessage(String phone, String templateCode, Map<String, String> templateParams) {
        throw new NkOperateNotAllowedException("不支持的方法");
    }

    @Override
    public NkShortMessageResult sendTemplateMessage(List<String> phoneList, String templateCode, Map<String, String> templateParams) {
        throw new NkOperateNotAllowedException("不支持的方法");
    }

    @Override
    public NkShortMessageResult sendTemplateMessage(List<String> phoneList, String templateCode, List<Map<String, String>> templateParams) {
        throw new NkOperateNotAllowedException("不支持的方法");
    }
}
